PIC-LCD-3310 development board
Users Manual
Rev.B, January 2011
Copyright(c) 2011, OLIMEX Ltd, All rights reserved
Page 1
INTRODUCTION:
PIC-LCD-3310 is development board with PIC18F67J50, NOKIA 3310 BW 84x48
pixels LCD, two LEDs and a joystick. The board has SD-MMC connector, mini USM
and all PIC ports are available on two extension connectors. The board have 3-axis
accelerometer MMA7260 (seen on the picture). It's perfect for motion data-
logging/analyze, 3-d mouses etc application.
BOARD FEATURES:
−
−
−
−
−
−
−
−
−
−
−
−
MCU: PIC18F67J50 with 128KB Flash memory, 3904B SRAM, 10-bit 8-channel
ADC module, PWM, SPI, I2C, EUSART, 2 Analog comparators and 8/16-bit
Timer/Counters
ICSP connector for PIC-ICD2/PIC-ICD2-POCKET debugger/programmer or
PIC-PGx programmers
LCD NOKIA 3310 black/white 84x48 pixels
Two status LEDs
Joystick with LEFT, RIGHT, UP, DOWN and CENTER action
mini USB connector
SD/MMC card connector
MMA7260 accelerometer
Extension connectors for all PIC ports
+(4.5–6.0) battery connector
PCB: FR-4, 1.5 mm (0,062''), soldermask, silkscreen component print
Dimensions 65x65 mm (2.56 x 2.56")
ELECTROSTATIC WARNING:
The PIC-LCD3310 board is shipped in protective anti-static packaging. The board
must not be subject to high electrostatic potentials. General practice for working
with static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS:
Cables:
1.8 meter USB mini cable to connect to PC. Other cables might be
required in case of other programming/debugging tools.
Programmer/Debugger –
PIC-ICD2, PIC-ICD2-POCKET orother
compatible programming/debugging tool.
Hardware:
!!!Warning!!!
When you want to program this microcontroller with PIC-ICD2, PIC-
ICD2-POCKET or PIC-ICD2-TINY, before connecting the
programmer to your target board, you should first connect the
programmer to your computer and open MPLAB. There, first from
menu Configure – Select Device – choose the microcontroller you are
about to program, then from menu Programmer – Select Programmer
Page 2
– choose MPLAB ICD 2, wait while MPLAB is downloading
operation system, and after ICD2 is connected – check in menu
Programmer – Settings – Power – there is option – Power target
circuit from MPLAB ICD 2 – this option should be forbidden, you
could not select it. Now it is safe to connect the programmer to your
target board.
Software:
MPLAB IDE (latest version), MPLAB C18 Compiler
or any other
compatible development/programming software.
Page 3
PROCESSOR FEATURES:
PIC-LCD3310
board use MCU
PIC18F67J50
from Microchip with these features:
-
USB V2.0 Compliant SIE
-
Low Speed (1.5 Mb/s) and Full Speed (12 Mb/s)
-
Supports Control, Interrupt, Isochronous and
Bulk Transfers
-
Supports up to 32 Endpoints (16 bidirectional)
-
Supports up to 32 Endpoints (16 bidirectional)
-
3.9-Kbyte Dual Access RAM for USB
-
On-Chip USB Transceiver
-
High-Precision PLL for USB
-
Two External Clock modes, up to 48 MHz
-
Internal 31 kHz Oscillator, Tunable Internal
Oscillator, 31 kHz to 8 MHz
-
Secondary Oscillator using Timer1 @ 32 kHz
-
Fail-Safe Clock Monitor:
o
Allows for safe shutdown if any clock stops
-
High-Current Sink/Source 25 mA/25mA
(PORTB and PORTC)
-
Four Programmable External Interrupts
-
Four Input Change Interrupts
-
Two Capture/Compare/PWM (CCP) modules
-
Three Enhanced Capture/Compare/PWM (ECCP)
modules:
o
One, two or four PWM outputs
o
Selectable polarity
o
Programmable dead time
o
Auto-shutdown and auto-restart
-
Two Master Synchronous Serial Port (MSSP)
modules supporting 3-Wire SPI (all 4 modes) and
I2C. Master and Slave modes
-
8-Bit Parallel Master Port/Enhanced Parallel
Slave Port with 16 Address Lines
-
Dual Analog Comparators with Input Multiplexing
-
10-Bit, up to 12-Channel Analog-to-Digital (A/D)
Converter module:
o
Auto-acquisition capability
o
Conversion available during Sleep
-
Two Enhanced USART modules:
o
Supports RS-485, RS-232 and LIN 1.2
o
Auto-wake-up on Start bit
o
Auto-Baud Detect
-
Address Capability of up to 2 Mbytes
-
8-Bit or 16-Bit Interface
-
12-Bit, 16-Bit and 20-Bit Addressing modes
-
5.5V Tolerant Inputs (digital-only pins)
-
Low-Power, High-Speed CMOS Flash Technology
-
C Compiler Optimized Architecture for
Re-Entrant Code
-
Power Management Features:
o
Run: CPU on, peripherals on
Page 4
o
Idle: CPU off, peripherals on
o
Sleep: CPU off, peripherals off
-
Priority Levels for Interrupts
-
Self-Programmable under Software Control
-
8 x 8 Single-Cycle Hardware Multiplier
-
Extended Watchdog Timer (WDT):
o
Programmable period from 4 ms to 131s
-
Single-Supply In-Circuit Serial Programming.
(ICSP™) via Two Pins
-
In-Circuit Debug (ICD) with 3 Breakpoints via
Two Pins
-
Operating Voltage Range of 2.0V to 3.6V
-
On-Chip 2.5V Regulator
-
Flash Program Memory of 10000 Erase/Write
Cycles and 20-Year Data Retention
Page 5